package com.aabte.mybatis.mapper.custom.mapper;

import org.apache.ibatis.annotations.UpdateProvider;

import java.util.List;

public interface MyBatchUpdateMapper<T> {

    @UpdateProvider(
            // 指定提供SQL的类
            type = MyBatchUpdateProvider.class,
            method = "dynamicSQL"
    )
    void batchUpdate(List<T> list);

}
